﻿using AutoMapper;
using HealthcareSystem.API.Read.DTO;
using HealthcareSystem.Domain;
using MediatR;
using Microsoft.AspNetCore.Mvc.RazorPages;
using WeekExam.PassPort.ErrorCode;
using WeekExam.PassPort.Infrastructure.Interface;

namespace HealthcareSystem.API.Read.Application.Command
{
    /// <summary>
    /// 显示命令
    /// </summary>
    public class RecordCommand:IRequest<ApiResult<ApiPaging<List<RecordDTO>>>>
    {
        /// <summary>
        /// 总条数
        /// </summary>
        public int PageIndex { get; set; }
        /// <summary>
        /// 总页数
        /// </summary>
        public int PageSize { get; set; }
        /// <summary>
        /// 姓名
        /// </summary>
        public string? RecordName { get; set; }
    }
}
